<?php use_helper('I18N'); ?>

<div id="shows">

<?php if ($upcomingshows): ?>

<h3><?php echo __('Upcoming shows') ?></h3>
  
  <div class='shows-list'>
  <ul>
  <?php foreach ($upcomingshows as $show): ?>
     <?php include_partial('tour/show', array('show' => $show)); ?>
  <?php endforeach; ?>
  </ul>
  </div>
  
<?php endif; ?>

<?php if ($oldshows): ?>

<h3><?php echo __('Passed show') ?></h3>
  
  <div class='shows-list'>
  <ul>
  <?php foreach ($oldshows as $show): ?>
     <?php include_partial('tour/show', array('show' => $show)); ?>
  <?php endforeach; ?>
  </ul>
  </div>

<?php endif; ?>

</div>